package com.celesea.framework.vo;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * ${DESCRIPTION}
 *
 * @author JackYuan
 * @create 2017-10-29 22:15
 */
public class DictionaryVo {
    @NotNull
    @ApiModelProperty(value = "主键", required = true)
    private String id;
    @NotNull
    @ApiModelProperty(value = "名称", required = true)
    private String name;

    public DictionaryVo() {
    }

    public DictionaryVo(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
